﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Iworld.Backstage
{
    public partial class Navigation : AdministratorAwareUserControl
    {
        public Navigation()
        {
            InitializeComponent();
            this.Loaded += NavigationLoaded;
        }

        void NavigationLoaded(object sender, RoutedEventArgs e)
        {
            SetOpacity(1);
        }

        void SetOpacity(double op)
        {
            this.S1.Opacity = op;
            this.S2.Opacity = op;
            this.S3.Opacity = op;
            this.S4.Opacity = op;
            this.S5.Opacity = op;
            this.S6.Opacity = op; 
        }
    }
}
